package org.jgs1904.apachepoidemo.regular;

/**
 * @author: 默苍璃
 * @date: 2024-03-14 17:16
 */
public class Test01 {
    public static void main(String[] args) {
        String s = "the quick brown fox jumps over the lazy dog.";
        String r = s.replaceAll("\\s([a-z]{4})\\s(t)", " <b>$2</b> <i>$1</i> ");
        System.out.println(r);
    }


}
